#include "ELAPLA.h"
#include <stdbool.h>
#include <stdio.h>

bool init_dstress(Stress sigma, PlasticModel *pm)
{
    pm->dStress = sigma;
    return true;
}

void printMatrix(double *a, int N1, int N2)
{
    for (int i = 0; i < N1; i++)
    {
        for (int j = 0; j < N2; j++)
        {
            printf("%e\t", a[i * N1 + j]);
        }
        printf("\n");
    }
}